//package com.aliyun.mgt;
//
//import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
//import org.springframework.boot.test.context.SpringBootTest;
//import org.springframework.test.context.TestPropertySource;
//import org.springframework.test.context.testng.AbstractTestNGSpringContextTests;
//import org.testng.annotations.AfterTest;
//
///**
// * * TestNG 测试抽象类（非事务类）
// *
// * @author tanye.tyn
// * @date 2019/8/19
// */
//@SpringBootTest(classes = {TestApplication.class, BaseConfig.class, DataSourceAutoConfiguration.class},
//    webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
//@TestPropertySource("classpath:test.properties")
//public abstract class AbstractTest extends AbstractTestNGSpringContextTests implements AfterTestCallback {
//
//    /**
//     * 在每个TestNG测试用例执行后触发，可扩展如下逻辑 - 打印测试用例执行后的相关数据 - 清理测试用例执行后的相关数据
//     *
//     * @throws Exception 异常
//     */
//    @AfterTest
//    public void afterTest() throws Exception {
//        afterTestCallback();
//    }
//
//}